Skip to content

Feature/bugfix return codes#274

Closed
markussiebert wants to merge 4 commits intoenvato:masterfrom
markussiebert:feature/bugfix_return_codes
Closed

Feature/bugfix return codes#274
markussiebert wants to merge 4 commits intoenvato:masterfrom
markussiebert:feature/bugfix_return_codes

Conversation

@markussiebert
Copy link
Copy Markdown

@markussiebert markussiebert commented Feb 1, 2019

With this pull request i want to change the exit codes of stack_master for apply and delete, because they are 0 at the moment(everything ok) even if apply can't find parameters and delete can't find the stack to delete.

Now the exit code of this commands will return 1 if they fail.

We need this for using stack_master in cicd pipelines. At the moment the pipeline state is ok/green, even if some commands failed.

This belongs to issue #235

patrobinson
patrobinson previously approved these changes Feb 2, 2019
@patrobinson patrobinson dismissed their stale review February 2, 2019 11:55

Eager beaver

Copy link
Copy Markdown
Contributor

@patrobinson patrobinson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It'd be good to have some tests for these, so we don't accidentally break this functionality in the future. Do you want to take a stab at creating the cucumber tests in features/ or would you like my help?

@markussiebert
Copy link
Copy Markdown
Author

Let me see if i'm able to write some cucumber tests...

@patrobinson
Copy link
Copy Markdown
Contributor

Does this PR solve the issue? #276

@patrobinson
Copy link
Copy Markdown
Contributor

I think this is fixed in #280

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants